import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import App from './App.vue'
import router from "@/route"
import zhCn from "element-plus/lib/locale/lang/zh-cn"
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const app = createApp(App);
app.use(ElementPlus, {size: 'small', zIndex: 3000, locale: zhCn});
app.use(router);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount("#app");